home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / applications / misc / upsey.lha / UPSey / UPSey.guide (.txt) < prev    next >
Encoding:
Amigaguide Document  |  1994-07-14  |  13.4 KB  |  305 lines

  1. @database "UPSEY.guide"
  2. @$VER: 1.01 (7/14/94)
  3. @FONT topaz.font 8
  4. @AUTHOR "Colin F. Thompson"
  5. @WORDWRAP 70
  6. @NODE MAIN "Table of Contents"
  7.                    @{b}UPSey@{ub}@{fg highlight}        The UPS Zone Commodity
  8. @{fg text}
  9.                @{" Overview      " link OVER } What does it do?
  10.                @{" Installation  " link INSTALL } Where does it live?
  11.                @{" Databases     " link DBASE} Make one for yourself.
  12.                @{" Customizing   " link CUSTOM} Tooltype Heaven
  13.                @{" Using UPSey   " link USE} The good stuff
  14.                @{" Registration  " link REG} How much does it cost?
  15.                @{" Program Notes " link NOTES} C, GTX, Etc.
  16. @{fg fill}
  17.                
  18. 1994 by BOTH Software 
  19. @{fg text}
  20. @ENDNODE
  21. @NODE OVER
  22. @{fg highlight}
  23.             UPSey will translate ZIP Codes to UPS Zones.
  24. @{fg text} 
  25.   UPSey is a commodity that is available to you from any program. Just 
  26.   press the Control Alt and the 'u' keys at the same time.
  27.   UPSey requires WB 2.x and up. Hard drive installation is preferable.
  28.   ReqTools Library must be present. It is not distributed with UPSey.
  29.   UPSey requires a text file, called a 'database' to operate. One such
  30.   database is provided. If you send parcels from an area other than 
  31.   San Diego, you will have to write an area-specific database. Complete
  32.   instructions for writing the database are included in @{"Databases" link DBASE}.
  33. @{fg highlight}
  34.               UPSey is Giftware. Freely distributable.
  35. @{fg text}
  36. @ENDNODE
  37. @NODE INSTALL
  38.   UPSey can be installed by double clicking on the INSTALLUPSEY icon. 
  39.   This installation is automatic and you will not be asked any 
  40.   technical questions.
  41.   You can manually install UPSey this way:
  42.   Copy the executable (program) - UPSey and its icon to SYS:WBStartup
  43.   Copy UPSey.doc, UPSey.guide, and "SanDiego.ups" to SYS:S
  44.   The Installer does the same thing, automagically.
  45.   If you want to store these files in another location, see @{"CUSTOM"LINK CUSTOM}. 
  46. @ENDNODE
  47. @NODE DBASE
  48. @LABEL "Writing your own Database""
  49.   This is the first release of UPSey. Only one database,
  50.   for the San Diego area is included. As new databases
  51.   are written, we will include them in later releases. 
  52. @{fg highlight}
  53.   ---------------Writing your Own Database --------------------
  54. @{fg text}
  55.   To make a new database, load up your favorite text editor.
  56.   Get your copy of the UPS Zone Chart. Copy the information
  57.   in the same order as you see below. You MUST make the first
  58.   two lines in this manner:
  59.              ;AREA:     <Your Sending Area>
  60.              ;ZIP CODE: <Your Local Range> 
  61.   AREA:     is your Town. 
  62.   ZIP CODE: Copy this data from the top of the UPS Zone chart.  
  63.   The lines of archival information after ZIP CODE: are not needed.
  64.   (Date, Author, Etc.) You may write anything here that you please.
  65.   Neatness counts. The next person to look at your database may be
  66.   using it as a template for their area.
  67.   A poor typist will require 30 minutes to type the database.
  68.   When you've finished, save the file as an ASCII file. 
  69. Here are the Rules:
  70.    1. EACH LINE (RECORD) MUST BE 18 CHARACTERS LONG.
  71.       NUMBERS AND SPACES ONLY.
  72.    2. USE YOUR UPS ZONE CHART. IF A ZONE IS REPRESENTED BY
  73.       A DASH OR ASTERICK, ENTER A ZERO OR 2 ZEROS IN ITS PLACE
  74.    3. ENTER THE NUMBERS DIRECTLY FROM THE CHART.
  75.       IF THERE IS ONLY A SINGLE PREFIX, ENTER THREE
  76.       SPACES TO REPLACE THE ENDING PREFIX. EXAMPLE:
  77.          327     7 37 12 22
  78.          328 344 6 36 12 22
  79.    4. ALASKA, CANADA AND INTERNATIONAL ZONES ARE NOT SUPPORTED.
  80.       IN THIS VERSION.
  81. @{fg highlight}
  82.    UPS Domestic Zone Chart for the San Diego Area
  83. @{fg text}
  84. ;AREA:          San Diego
  85. ;ZIP CODE:      919-01 921-99
  86. ;DATE:          6-9-94 
  87. ;AUTHOR:        COLIN THOMPSON
  88. ;FOR USE WITH:  UPSEY
  89. ;FOR MORE INFO: UPSEY.GUIDE
  90. ;DEFAULT LOC:   SYS:S
  91. ;FILENAME:      SanDiego.ups
  92. ;REM CHAR:      SEMICOLON
  93. ;        ___________ Beginning Prefix
  94. ;       /  _________ Ending Prefix
  95. ;      /  /   ______ Ground Zone 
  96. ;     /  /   / _____ 3 Day Select Zone 
  97. ;    /  /   / /  ___ 2 Day Air Zone
  98. ;   /  /   / /  /  _ Next Day Air Zone
  99. ;  /  /   / /  /  /
  100. ; /  /   / /  /  /
  101. ;-- --- - -- -- --
  102. 004 005 8 38 12 22
  103. 006 007 0 00 15 25
  104. 008     0 00 00 00
  105. 009     0 00 15 25
  106. 010 089 8 38 12 22
  107. 090 099 0 00 00 00
  108. 100 199 8 38 12 22
  109. ------------------> Continued on the the bottom of the list.
  110. @ENDNODE
  111. @NODE CUSTOM
  112. @TITLE "CHANGING THE TOOLTYPES"
  113. ToolTypes:
  114. @{fg highlight}
  115.   ----------------- Where is the Database? --------------------
  116. @{fg text}
  117.   If you want to store the database someplace other than
  118.   SYS:S, you will need to change the tooltype to let 
  119.   UPSey know where to look for your database. 
  120.   As an example, let's say you want put your database in a drawer
  121.   called 'TEXTFILES', which is on a partition called WORK: 
  122. @{fg highlight}
  123. Do it like this:@{fg text}
  124.     From the Workbench, click once on the UPSey icon.
  125.     Select INFORMATION from the pull down menus.
  126.     Change the line that says DATABASE=SYS:S
  127.       
  128.         to read DATABASE=<PATH>
  129.     EXAMPLE: DATABASE=WORK:TEXTFILES
  130.     Press return and then SAVE. 
  131.   Remember, you can only have ONE database in the place UPSey is 
  132.   looking for databases. If more than one database is in that 
  133.   drawer, UPSEY may see the wrong one.
  134.   By default, UPSey looks at the tooltype for the path to the 
  135.   database. If a path is not present, it looks in the drawer
  136.   it is living in. That drawer would normally be WBStartup. If
  137.   UPsey can't find a database there, it will look in s:. In the
  138.   worst case, if UPSey can't find a database, a screen prompt 
  139.   will appear, telling you of a@{fg fill} 
  140.      'fatal error: can't find database'@{fg text} 
  141. @{fg highlight}
  142.   -------------------- Qualifier Keys ---------------------------
  143. @{fg text}  
  144.   The hot keys (Ctrl Alt u) may be changed. These values are
  145.   kept in the icon as tooltypes. You may freely change them.
  146. @{fg highlight}
  147.   --------------- Where is UPSey's Window? ----------------------
  148. @{fg text}
  149.   You may find that UPSey appears on your screen in an inconvenient 
  150.   place. Through the use of Tooltypes, you can tell UPSey where to 
  151.   position itself whenever it is called.
  152.   A "normal" Amiga has a screen resolution of 640 pixels wide and 200 
  153.   pixels tall. You should know the resolution of your own machine.
  154.   Before you change the X-Y position tooltypes, run the program and 
  155.   see where it appears on your screen. If it is not in a good place, 
  156.   adjust the XPOSITION and/or the YPOSITION tooltype. Remember, these 
  157.   values refer to the upper left hand corner of UPSey's window in
  158.   relationship to the screen's upper left hand corner.
  159.   X is left-right, with the left edge of the screen being zero.
  160.   Y is up-down, with the top of the screen being zero.
  161.   You may adjust the values without harm to the program.
  162.   XPOSITION=[number]
  163.   YPOSITION=[number]
  164. @{fg highlight}
  165.                    
  166.   ----------------- Filename Conventions -------------------
  167. @{fg text}
  168.   Database filenames require an extension of '.ups'.
  169.  @{fg highlight} 
  170.   ----------------------- Stack Size ------------------------
  171.  @{fg text} 
  172.   The stack size is set to 16000 in the icon. Don't make it less,
  173.   or you may get a free trip to India.  
  174. @ENDNODE
  175. @NODE USE
  176. @TITLE "Using the program"
  177.  UPSey is a commodity. It lurks in the background, waiting for you to 
  178.  press the Control Alt and 'u' together. Then it appears on the
  179.  frontmost public screen. (Usually the WorkBench). 
  180.  On the left side of the window is a 'listview' gadget that contains 
  181.  all of the legal ZIP Codes that UPS ships to from your area. Use
  182.  the sliding bar or the arrows to select the ZIP code you want the
  183.  Zone number for.  
  184.  This is exactly what you would do if you used the UPS Zone chart. 
  185.  Once you've found the range, click on it and all of the available 
  186.  Zone numbers will appear in boxes to the right. Click the close 
  187.  gadget to to make UPSey hide. 
  188.  The Zone numbers you see are valid only in the AREA listed. It is
  189.  quite easy to make a list for your area. Complete instructions
  190.  for this are available in the @{"Databases" LINK DBASE} section.
  191.  The standard Project menu allows you to:
  192.   HIDE -- Make UPSey disappear, but standing by to be called again.
  193.           This is the same as clicking the close gadget.
  194.   QUIT -- This shuts down UPSey. Memory is de-allocated and you must
  195.           double click it's icon to activate UPSey again.
  196.   ABOUT - A window appears and shouts the praises of BOTH Software.
  197.  UPSey is a standard commodity and may be controlled by the Exchange.
  198. @ENDNODE
  199. @NODE REG
  200.   UPSey is @{b}GIFTWARE@{ub}. That means if you like it and use
  201.   it, you may send us a Gift. We like unpublished, homegrown
  202.   utilities.  :]  
  203.   UPSey is free to use and copy as you see fit. The Authors retain all
  204.   rights to the program. The Authors are not responsible for any
  205.   damage the program may cause, i.e. wrong Zones, crashed systems,
  206.   or thermonuclear war. The user assumes all responsibility.
  207.   The United Parcel Service is in no way responsible for UPSey.
  208.   UPSey was tested on a 2000, 600 (WB 2) and a 1200 (WB3.0)
  209.   without problems.
  210. @{fg highlight}
  211. The Authors ask only two things from you:@{fg text}
  212.    1. If you distribute the program, distribute the entire package. 
  213.       See below for a list of filenames to be included. You may
  214.       not charge more than a nominal fee. Mr. Fred Fish is 
  215.       specifically allowed to distribute this package. 
  216.    2. If you write a Zone Chart database for your area, please send a
  217.       copy so it may be included in subsequent releases. Give yourself
  218.       credit in the text.
  219. Files included in this release (1.00):
  220.       UPSey -------- The executable
  221.       SanDiego.ups-- The Zone Chart database
  222.       UPSey.guide -- This AmigaGuide file
  223.       UPSey.doc ---- Instructions for the Guideless
  224.       InstallUPSey - The Autoinstall script
  225.       UPSey.readme - A standard, vanilla readme 
  226.       <src> -------- Directory with the source code
  227. If you find any bugs or have any comments, please contact the Authors:
  228. @{fg highlight}
  229.       C & UNIX Code                  Program Design, GUIs, Docs@{fg 
  230. text}
  231.       --------------------------     --------------------------
  232.       Will Bow                       Colin Thompson
  233.       1531 Corinth Unit 1            9606 Carroll Cyn. Rd. H9
  234.       West Los Angeles, CA 90025     San Diego, CA 92126
  235.       (310) 478-4913                 (619) 695-2181
  236.                                      InterNet: colin@cts.com
  237. @ENDNODE
  238. @NODE NOTES
  239. @{fg highlight}
  240. ---------------------- Programming Notes -----------------------
  241. @{fg text}
  242. @{fg highlight}
  243. Future additions will include:
  244. @{fg text}
  245.  Adding Canadian and Alaskan Zones. 
  246.  Saving the window position when closed.
  247.   If you have any suggestions, send them along. This program was
  248.   written to complement Legendary Design Technologies' Addressit!. 
  249.   UPSey won't open on Addressit!'s private screen, but you can 
  250.   drag the screen down to reveal UPSey on the WorkBench screen.
  251. @{fg highlight}
  252. Thanks to:@{fg text} Jan van den Baard for GadToolsBox. 
  253.            Nico Francois for his ReqTools Library
  254.            San Diego Amiga Users Group for beta testing.
  255.            Fred Fish for his Fabulously Fishy Archives
  256. @{fg highlight}
  257. Additional programming Notes:
  258. @{fg text}
  259.   UPSey was written in Aztec C. The source files are included.
  260.   If you come up with any improvements or modifications,
  261.   please let the authors know. 
  262.   UPSey's method of dynamically allocating memory for the data
  263.   should prove useful when modifying the program to display other 
  264.   forms of data. The data file can be of any length or have any
  265.   number of fields. The GUI was done with GadToolsBox. We love it. 
  266.   The first time UPSey is called, the database is read into memory.
  267.   It stays there until the computer is turned off, reset or the
  268.   QUIT option on the menu is selected. 
  269. @{fg fill}
  270.   In reference to reading in the first two strings - AREA and ZIP CODE
  271. @{fg text}
  272.   The user is instructed to make these strings the first ones in the 
  273.   list. This instruction was made purely to keep the database files
  274.   neat looking. UPSey is a lot smarter than that.
  275.   The two strings can be located anywhere within the file. If multiple
  276.   occurrences are found, the last one takes precedence.
  277.    That is:
  278.        area: foo1
  279.            .
  280.            .
  281.        area: foo2  
  282.    foo2 overides foo1
  283.    The keywords "area:" and "zip code:" may appear anywhere in a comment
  284.    line. Extraneous stuff may precede them i.e.: 
  285.  @{fg fill} 
  286.         ;garbage & junk area: <rest of line>
  287.  @{fg text} 
  288.         is seen as "area: <rest of line>" 
  289.    Leading spaces before the first word in <rest of line> are skipped.
  290.    Subsequent spaces embedded in <rest of line> are represented verbatim.
  291.    <rest of line> will be displayed up to the newline '\n' and is NOT 
  292.    CHECKED FOR VALIDITY IN ANY WAY.  If it is longer than the
  293.    display area, it is automatically truncated by intuition to fit.
  294. Line lengths:
  295.    Lines (records) do not necessarily have to be 18 chars long. It helps
  296.    as far as human readability is concerned. What is important is that
  297.    there are  5 or 6 fields per record, delimited by white space - 
  298.    (horiz tabs are also considered white space). Lines starting with ';'
  299.    OR having less than 5, or more than 6 fields are SILENTLY ignored
  300.    - with the exception of a comment line containing area: or zip code:.
  301. File length:
  302.   The database file may be as long as necessary. UPSey imposes no 
  303.   upper limits on file size
  304. @ENDNODE
  305.